import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import store from "./store";
import api from "@/api/request";
import tools from '@/utils/tools';
import router from "@/router";
import i18n from '@/utils/i18n';

Vue.use(ElementUI);
Vue.config.productionTip = false;

Vue.prototype.$api = api;
Vue.prototype.$tools = tools;

new Vue({
  store,
  i18n,
  router,
  render: h => h(App),
}).$mount('#app')
